<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page import="com.hellenic.beans.ProprieteBean" %>
<% ProprieteBean unePropriete = (ProprieteBean) request.getAttribute( "unePropriete" ); %>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Hellenic</title>

	<link type="text/css" rel="stylesheet" href="<c:url value="/css/bootstrap.css"/>" />
	<link type="text/css" rel="stylesheet" href="<c:url value="/css/style.css"/>" />
</head>
<body>
	<div class="container">
		<header>
			<h1>Hellenic Realty</h1>
			<nav>
				<ul class="nav nav-tabs">
					<li><a href="/hellenic/accueil" title="Accueil">Accueil</a></li>
					<li><a href="/hellenic/accueil" title="Offre">Nos Offres</a></li>
					<li><a href="/hellenic/contact" title="Contact">Contact</a></li>
				</ul>
			</nav>
		</header>
		<section>
			<h1>Fiche propriete :</h1>
			<article>
				<h2><% unePropriete.getLibelle(  ); %></h2>
				<h4>Région :</h4>
				<p><% unePropriete.getRegion(  ); %><p>

				<h4>Référence :</h4>
				<p><% unePropriete.getRef(); %><p>

				<h4>Prix :</h4>
				<p><% unePropriete.getPrix(  ); %> €<p>

				<h4>Description :</h4>
				<p>
					<% unePropriete.getDescription(  ); %>
				<p/>
			
				<a href="/hellenic/reservation?idPropriete=<% unePropriete.getRef(); %>" title="Réserver" class="btn btn-primary">Réserver</a>
			</article>
		</section>
		<footer>
		</footer>
	</div>
</html>